﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class NPC
    {
        private string name;

        public string Name { get => name; set => name = value; }

        public NPC(string name)
        {
            this.name = name;
        }

        public NPC()
        {

        }

        public void Move(string name, int b)
        {
            switch (b)
            {
                case 1:
                    Console.WriteLine("{0}出石头", name);
                    break;
                case 2:
                    Console.WriteLine("{0}出剪刀", name);
                    break;
                case 3:
                    Console.WriteLine("{0}出布", name);
                    break;
            }
        }
    }
}
